package com.topscomm.core;

/**
 * 文件格式类型
 * 
 * @description:
 * @author: donghang
 * @date: 2021年3月15日下午6:45:01
 * @modify:
 */
public enum FileFormatEnum {
	WORD(1, "word", "word文件", "word"), PPT(2, "ppt", "ppt文件", "powerpoint,presentation"), EXCEL(3, "excel", "excel文件",
			"excel,sheet"), PDF(4, "pdf", "pdf文件", "pdf"), IMAGE(5, "image", "图片文件", "image"), AUDIO(6, "audio", "音频文件",
					"audio"), VIDEO(7, "video", "视频文件",
							"video"), HLS(8, "m3u8", "m3u8文件", "text"), HTML(9, "html", "html文件", "text");

	public int index;
	public String code;
	public String desc;
	public String mimeType;

	FileFormatEnum(int index, String code, String desc, String mimeType) {
		this.code = code;
		this.desc = desc;
		this.index = index;
		this.mimeType = mimeType;
	}
}
